﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Mr.Sun
  Date: 2019/11/15
  Time: 上午 9:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>编辑信息</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="css/editIM.css"/>
    <link rel="stylesheet" href="css/calendar.css"/>

    <script src="js/jquery.js"></script>
    <script type="text/javascript" src="js/calendar.js"></script>
    <script src="js/editIM.js"></script>
    <script src="js/checkUpdateIM.js"></script>
    <script type="text/javascript" src="js/checkUserUpdateForm.js" charset="utf-8"></script>

    <script>
        window.onload = function () {
            $.ajax({
                url: '${pageContext.request.contextPath}/SampleInfoController/findByCropCategory',
                type: 'post',
                dataType: "json",
                success: function (map) {
                    var obj = eval('(' + map + ')');
                    var categoryList = obj.categoryList;
                    var cropCpeciesList = obj.cropCpeciesList;
                    var cropCategoryId = document.getElementById("cropCategory_Id");
                    var cropCpeciesId = document.getElementById("cropCpecies_Id");
                    cropCategoryId.innerHTML = "<option value='0'>请选择</option>";

                    //加载
                    for (var i = 0; i < categoryList.length; i++) {
                        var opt = document.createElement("option");
                        opt.innerText = categoryList[i].cropCategory;
                        opt.setAttribute("value", categoryList[i].id);
                        cropCategoryId.appendChild(opt);
                    }

                    cropCategoryId.onchange = function () {

                        var procode = cropCategoryId.value;
                        cropCpeciesId.innerHTML = "<option value='0'>请选择</option>";
                        for (var i in cropCpeciesList) {
                            if (cropCpeciesList[i].cropCategoryId == procode) {
                                var opt = document.createElement("option");
                                opt.innerText = cropCpeciesList[i].cropSpecies;
                                opt.setAttribute("value", cropCpeciesList[i].id);
                                cropCpeciesId.appendChild(opt);
                            }
                        }
                    }
                }
            });

            $.ajax({
                url: '${pageContext.request.contextPath}/SampleInfoController/selectAddress',
                type: 'post',
                dataType: "json",
                success: function (map) {
                    var obj = eval('(' + map + ')');

                    var cityList = obj.cityList;
                    var provinceList = obj.provinceList;
                    var townList = obj.townList;
                    var shenId = document.getElementById("shen");
                    var shiId = document.getElementById("shi");
                    var xianId = document.getElementById("xian");
                    shenId.innerHTML = "<option value='0' >请选择</option>";

                    for (var i = 0; i < provinceList.length; i++) {
                        var opt = document.createElement("option");
                        opt.innerText = provinceList[i].name;
                        opt.setAttribute("value", provinceList[i].code)
                        shenId.appendChild(opt)
                    }
                    //给省份添加一个change事件
                    shenId.onchange = function () {
                        var procode = shenId.value;
                        //先清除原来的城市数据
                        shiId.innerHTML = "<option value='0' class='shide'>选择市</option>";
                        xianId.innerHTML = "<option value='0' class='xiande'>选择区</option>";


                        for (var i in cityList) {
                            if (cityList[i].provincecode == procode) {
                                var citys = cityList[i].name;
                                var opt = document.createElement("option");
                                opt.innerText = cityList[i].name;
                                opt.setAttribute("value", cityList[i].code);
                                shiId.appendChild(opt);
                            }
                        }
                    }
                    //给城市添加change事件，选择城市，获取区县
                    shiId.onchange = function () {
                        //获取城市ID
                        var cityCode = shiId.value;
                        //先清除原来的城市数据
                        xianId.innerHTML = "<option>选择区</option>";
                        //根据城市ID获取区县列表
                        for (var i in townList) {
                            if (townList[i].citycode == cityCode) {
                                var opt = document.createElement("option");
                                opt.innerText = townList[i].name;
                                opt.setAttribute("value", townList[i].code);
                                xianId.appendChild(opt);
                            }
                        }
                    }
                }
            })
        }

    </script>
    <%--提交--%>
    <script type="text/javascript">
        function tijiao() {
            var formData = new FormData(document.getElementById("warehouseForm"));//表单id
            $.ajax({
                    url: '${pageContext.request.contextPath}/SampleInfoController/addSample',
                    type: 'post',
                    dataType: "json",
                    contentType: false,
                    processData: false,
                    data: formData,
                    success: function (data) {
                        if (data.flag== true) {
                            alert("添加成功")
                            window.location.href = "IM.jsp";
                        }else {
                            alert("添加失败")
                            window.location.href = "edtIM-add.jsp";
                        }
                    }
                }
            )
        }
    </script>
    <script type="text/javascript">
        $(function () {
            $.ajax({
                url: '${pageContext.request.contextPath}/findSampleToxinInfo',
                type: 'post',
                dataType: "json",
                success: function (sampleToxinInfoList) {
                    var obj = JSON.parse(sampleToxinInfoList);
                    //console.log(obj);
                    var toxin_type = document.getElementById("toxin_id1");
                    toxin_type.innerHTML = "<option value='0'>请选择</option>";
                    for (var i = 0; i < obj.length; i++) {
                        var opt = document.createElement("option");
                        opt.innerText = obj[i].toxinType;
                        opt.setAttribute("value", obj[i].id)
                        toxin_type.appendChild(opt)
                    }
                }
            })
        })
    </script>
    <script type="text/javascript">
        function word() {
            $.ajax({
                type: 'post',
                dataType:"json",
                enctype:"multipart/form-data",
                url:'/upload',
                data:{
                    wordAddr:$("#word_addr").val(),
                    txtAddr:$("#txt_addr").val(),
                    pictureAddr:$("#picture_addr").val()
                },
            });
        }
    </script>


    <script type="text/javascript">
    </script>
    <style>
        html, body {
            height: 100%
        }
    </style>

</head>

<body>
<div class="contaner">

    <div class="im-content">
        <div class="im-heade">
            <div class="imhead-title">当前页面：<a>新增信息</a></div>
        </div>
        <form id="warehouseForm" <%--action="${pageContext.request.contextPath}/SampleInfoController/addSample"--%> name="sampleInfo" enctype="multipart/form-data" method="post" accept-charset="utf-8">
            <div class="editim-table">
                <ul class="table-con">
                    <li class="edittable-top">
                        <div class="edittable-left">采样信息</div>
                        <div class="edittable-right">
                            <ul>

                                <li>
                                    <lable>样品编号</lable>
                                    <input class="ypbh" name="sampleId" placeholder="首字母英文，长度为5-15位" id="sample_Id"
                                           value=""  onblur="checksample_id()" maxlength="15" type="text"><span id = "asdasdas"></span>
                                </li>

                                <li>
                                    <lable>农产品加工原料类别</lable>
                                    <select class="sel" onchange="cptypes()" onkeyup="verifyUser()" name="cropCategoryId" id="cropCategory_Id" onblur="checkcrop_category_id()">
                                    </select>
                                    <span id="crop_category_id"></span>
                                </li>
                                <li>
                                    <lable>品种</lable>
                                    <select class="sel" name="cropCpeciesId" id="cropCpecies_Id" onblur="checkbreed()">
                                    </select>
                                    <span id="breed"></span>
                                </li>
                                <li>
                                    <div class="width">
                                        <lable>地点</lable>
                                        <input value="123" id="wsx" type="hidden">
                                        <select class="province" name="sheng" id="shen"
                                                onchange="changeShen(this.value,'shen','shi','xian')">
                                        </select><span>省</span>
                                        <select class="city" name="shi" onblur="checkprovince()" id="shi"
                                                onchange="changeShi(this.value,'shen','shi','xian')">
                                            <option value="0" class="xiande">请选择</option>
                                        </select><span>市</span>
                                        <select onblur="checkprovince()" name="xian" class="county" id="xian"
                                                onchange="xianwsx()">
                                            <option value="0" class="xiande">请选择</option>
                                        </select><span>县</span>
                                    </div>
                                    <span class="xc">
											<input placeholder="可为空" id="xiang" name="xiang" value="" type="text">乡
											<input placeholder="可为空" id="cun" name="cun" value="" type="text">村
											<input placeholder="可为空" id="hu" name="hu" value=""
                                                   type="text"><span>户</span>
										</span>

                                </li>

                                <li>
                                    <lable>收获时间</lable>
                                    <input name="harvest_time" id="dt" value="" onblur="checkharvest_time()" readonly="readonly" placeholder="选择日期"
                                           type="text">
                                    <div style="width: 280px; height: 330px; left: 549.65px; top: 351px; z-index: 999; display: none;"
                                         class="calendar calendar-modal calendar-d" id="dd">
                                        <div style="width: 280px;" class="calendar-inner">
                                            <div class="calendar-views">
                                                <div style="width: 280px;" class="view view-date">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-date=""
                                                                                class="calendar-display">2018/<span
                                                            class="m">3</span></a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一月"
                                                                                          data-calendar-arrow-date="">&lt;</span><span
                                                                class="next" title="下一月" data-calendar-arrow-date="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <div style="width: 280px; height: 280px;" class="calendar-ct">
                                                        <ol class="week">
                                                            <li style="width:40px;height:40px;line-height:40px">日</li>
                                                            <li style="width:40px;height:40px;line-height:40px">一</li>
                                                            <li style="width:40px;height:40px;line-height:40px">二</li>
                                                            <li style="width:40px;height:40px;line-height:40px">三</li>
                                                            <li style="width:40px;height:40px;line-height:40px">四</li>
                                                            <li style="width:40px;height:40px;line-height:40px">五</li>
                                                            <li style="width:40px;height:40px;line-height:40px">六</li>
                                                        </ol>
                                                        <ul class="date-items">
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">10
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class=" now" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div style="width: 280px;" class="view view-month">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-month=""
                                                                                class="calendar-display">2018</a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一年"
                                                                                          data-calendar-arrow-month="">&lt;</span><span
                                                                class="next" title="下一年" data-calendar-arrow-month="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <ol style="width: 280px; height: 280px;"
                                                        class="calendar-ct month-items">
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">1月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">2月
                                                        </li>
                                                        <li class="now" style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">3月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">4月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">5月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">6月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">7月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">8月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">9月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">10月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">11月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">12月
                                                        </li>
                                                    </ol>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="calendar-label"><p>HelloWorld</p><i></i></div>
                                    </div>
                                    <span class="harvest_time" id="harvest_time"></span>
                                </li>
                                <!-- onblur="checksampling_time()" -->
                                <li>
                                    <lable>取样时间</lable>
                                    <input name="sampling_time" id="dt-b" value="" readonly="readonly" onblur="checksampling_time()"
                                           placeholder="选择日期" type="text">
                                    <div style="width: 280px; height: 330px; left: 549.65px; top: 393px; z-index: 999; display: none;"
                                         class="calendar calendar-modal calendar-d" id="dd-b">
                                        <div style="width: 280px;" class="calendar-inner">
                                            <div class="calendar-views">
                                                <div style="width: 280px;" class="view view-date">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-date=""
                                                                                class="calendar-display">2018/<span
                                                            class="m">3</span></a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一月"
                                                                                          data-calendar-arrow-date="">&lt;</span><span
                                                                class="next" title="下一月" data-calendar-arrow-date="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <div style="width: 280px; height: 280px;" class="calendar-ct">
                                                        <ol class="week">
                                                            <li style="width:40px;height:40px;line-height:40px">日</li>
                                                            <li style="width:40px;height:40px;line-height:40px">一</li>
                                                            <li style="width:40px;height:40px;line-height:40px">二</li>
                                                            <li style="width:40px;height:40px;line-height:40px">三</li>
                                                            <li style="width:40px;height:40px;line-height:40px">四</li>
                                                            <li style="width:40px;height:40px;line-height:40px">五</li>
                                                            <li style="width:40px;height:40px;line-height:40px">六</li>
                                                        </ol>
                                                        <ul class="date-items">
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">10
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class=" now" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">7
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                            <li style="width: 280px;">
                                                                <ol class="days">
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="old" data-calendar-day="">31
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">5
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">6
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">7
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">8
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">9
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">10
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">11
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">12
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">13
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">14
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">15
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">16
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">17
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">18
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">19
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">20
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">21
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">22
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">23
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">24
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">25
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">26
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">27
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">28
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">29
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="" data-calendar-day="">30
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">1
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">2
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">3
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">4
                                                                    </li>
                                                                    <li style="width:40px;height:40px;line-height:40px"
                                                                        class="new" data-calendar-day="">5
                                                                    </li>
                                                                </ol>
                                                            </li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div style="width: 280px;" class="view view-month">
                                                    <div class="calendar-hd"><a href="javascript:;"
                                                                                data-calendar-display-month=""
                                                                                class="calendar-display">2018</a>
                                                        <div class="calendar-arrow"><span class="prev" title="上一年"
                                                                                          data-calendar-arrow-month="">&lt;</span><span
                                                                class="next" title="下一年" data-calendar-arrow-month="">&gt;</span>
                                                        </div>
                                                    </div>
                                                    <ol style="width: 280px; height: 280px;"
                                                        class="calendar-ct month-items">
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">1月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">2月
                                                        </li>
                                                        <li class="now" style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">3月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">4月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">5月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">6月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">7月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">8月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">9月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">10月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">11月
                                                        </li>
                                                        <li style="width:70px;height:70px;line-height:70px"
                                                            data-calendar-month="">12月
                                                        </li>
                                                    </ol>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="calendar-label"><p>HelloWorld</p><i></i></div>
                                    </div>
                                    <span class="err" id="sampling_time"></span>
                                </li>


                                <li>
                                    <lable>取样人</lable>
                                    <input maxlength="15" placeholder="请输入取样人姓名" name="samplingPeople" onblur="checksampling_people()"
                                           id="samplingeople" value="" type="text">
                                    <span id="sampling_people"></span>
                                </li>
                                <li class="jijie">
                                    <lable>采集季节及气候特征</lable>
                                    <textarea name="seasonal" id="seaso_nal1" rows="" cols="" onblur="checkseasonal()"></textarea>
                                    <span id="seasonal"></span>
                                </li>
                                <li class="huanjing">
                                    <lable>采集地、环境信息描述</lable>
                                    <textarea name="description" id="descri_ption1" rows="" cols="" onblur="checkdescription()"></textarea>
                                    <span id="description"></span>
                                </li>
                                <li>
                                    <lable>真菌污染率</lable>
                                    <input name="pollutionRate" id="pollutionRate" value="" maxlength="5" onblur="checkpollution_rate()"
                                           placeholder="不需要输入'%'"
                                           type="">
                                    <span id="pollution_rate"></span>
                                </li>
                            </ul>
                        </div>
                    </li>
                    <div class="addds">
                        <li class="edittable-middle">
                            <div class="editmiddle-left">
                                毒素信息
                            </div>

                            <div class="editmiddle-right">
                                <ul>
                                    <li>
                                        <lable>毒素种类</lable>
                                        <select name="toxinId" id="toxin_id1" onblur="checktoxin_id()">
                                            <option value="0">请选择</option>
                                        </select>
                                        <span id="toxin_id"></span>
                                    </li>
                                    <li>
                                        <lable>毒素含量</lable>
                                        <input id="toxinCount" value="" name="toxinCount" maxlength="10" onblur="checktoxin_count()"
                                               placeholder="毒素含量最大可输入十位" type="text">
                                        <span id="toxin_count"></span>
                                    </li>
                                    <li>
                                        <a class="del">删除</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </div>
                    <div class="add-dsxx" id="tjds">+添加毒素信息</div>
                    <div class="add-con">
                    </div>
                </ul>

                <div class="add-ds add" name="duxinxi">+添加产毒菌株信息</div>
                <div class="footer">
                    <a id="asdf"  type="submit" onclick="sub()" class="baocun">保存</a>
                    <%--  <input type="button" name="submit" onclick="onClik();"class="baocun" value="提交"/>--%>
                    <!-- <a onclick="history.go(-1)" class="marginl">返回</a> -->
                    <a onclick="history.go(-1)" class="marginl"
                       href="javascript:if(confirm('确实要放弃操作吗?返回之后，所添加数据不会保存！'))location='/glory/rest/iddeleteyangpin?id=754'">返回</a>
                </div>

            </div>
        </form>
    </div>
</div>

</body>
<script type="text/javascript">
    $("#asdf").click(function () {
        tijiao();
    })
</script>

</html>

